<script setup lang="ts">
  import allOrder from './allOrder.vue';
  import detail from './detail.vue';
</script>



<template>
<div>
  <div v-if="$route.query.orderId">
    <detail></detail>
  </div>
  <div v-else>
    <all-order></all-order>
  </div>
</div>
</template>



<style scoped lang="scss">
  
</style>